package com.zhang.service;

import com.zhang.domain.Pay;
import com.zhang.mapper.PayMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author zh
 * @create 2022-03-14 15:26
 */
@Service
public class IPayServiceImpl implements IPayService {
    @Resource
    private PayMapper mapper;

    @Override
    public Map<String,List<Pay>> selectPay() {
        Map<String,List<Pay>> map = new HashMap<>();
        map.put("selectPay1",mapper.selectPay1());
        map.put("selectPay2",mapper.selectPay2());
        return map;
    }
}
